package com.mycity.mapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import com.mycity.bean.Tag;

public class TagRowMapper implements RowMapper<Tag> {

	  @Override
	  public Tag mapRow(ResultSet rs, int line) throws SQLException {
	    TagSetExtractor extractor = new TagSetExtractor();
	    return extractor.extractData(rs);
	  }
}
